<?php


namespace app\common\validate;


class DictValidate extends BaseValidate
{
    protected $rule = [
        'name'  => 'require|min:2|max:50',
        'value' => 'require|min:2|max:50',
        'status' => 'require|between:1,2'
    ];

    protected $message = [
        'name' => '字典名称错误',
        'value' => '字典编码错误',
        'status' => '字典状态错误'
    ];
}